import { ADMIN_LOGIN_URL } from '../config';
import request from '../utils/request';

export const getFodderApi = () => request.get(`${ADMIN_LOGIN_URL}/banner/list`)
export const postFodderItemFlagApi = (parmas) => request.post(`${ADMIN_LOGIN_URL}/banner/updateFlag`, parmas)
export const delFodderItemApi = (parmas) => request.get(`${ADMIN_LOGIN_URL}/banner/delete`, { parmas })
export const addFodderItemApi = (parmas) => request.post(`${ADMIN_LOGIN_URL}/banner/add`, parmas)
